package com.wangdao.wechatmall.service.admin;

import com.wangdao.wechatmall.bean.bo.admin.BrandBO;
import com.wangdao.wechatmall.bean.bo.admin.BrandUpdateBO;
import com.wangdao.wechatmall.bean.bo.admin.CreateParamBO;
import com.wangdao.wechatmall.bean.pojo.Brand;
import com.wangdao.wechatmall.bean.vo.admin.BrandVO;
import com.wangdao.wechatmall.bean.vo.admin.CreateBrandVO;
import com.wangdao.wechatmall.exception.BrandDescException;
import com.wangdao.wechatmall.exception.BrandNameException;
import com.wangdao.wechatmall.exception.PriceException;

/**
 * @author liyongqiang
 * CreateDate 2021/7/9 10:59
 */


public interface BrandService {
    BrandVO queryList(BrandBO brandBO);

    int delete(Integer id);

    int update(BrandUpdateBO brand) throws BrandNameException, BrandDescException;

    CreateBrandVO create(CreateParamBO createParamBO) throws PriceException, BrandNameException, BrandDescException;
}
